package com.hqj.controller;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping
public class ProviderController {

    @Value("${server.port}")
    private String port;

    @RequestMapping("/getProvider")
    public String getrProvider(){
        return "服务提供者的端口号为："+port;
    }

}
